package com.shixun.milktea.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zrs
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_mt")
@ApiModel(value="奶茶对象", description="")
public class Mt implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "mt_id", type = IdType.AUTO)
    @ApiModelProperty(value = "奶茶编号")
    private Integer mtId;

    @ApiModelProperty(value = "奶茶名称")
    private String mtName;

    @ApiModelProperty(value = "奶茶图片")
    private String mtImg;

    @ApiModelProperty(value = "奶茶原料")
    private String mtMaterial;

    @ApiModelProperty(value = "奶茶价格")
    private BigDecimal mtPrice;

    @ApiModelProperty(value = "分类编号")
    private Integer sortId;

    @ApiModelProperty(value = "奶茶库存")
    private Integer mtNum;

    @ApiModelProperty(value = "上架状态: 上架1；下架0")
    private Integer mtShelves;

    @ApiModelProperty(value = "新品状态:  新品1; 不是新品0")
    private Integer mtNew;

}
